package xt3Futures

import "os"

var (
	baseURL string
)

func init() {

	env := os.Getenv("APIENV")
	switch env {
	case "pro":
		baseURL = "wss://fstream.xt.com/ws/market"
	case "dev":
		baseURL = "wss://fstream.xt.com/ws/market"
	case "test":
		baseURL = "ws://fstream.xt-qa.com/ws/market"
	default:
		baseURL = "ws://fstream.xt-qa.com/ws/market"
	}

}
